package com.heima.wemedia;

import com.heima.feign.client.ArticleFetignClient;
import com.heima.feign.client.TaskScheduleFeignClient;
import com.heima.feign.client.WmUserFeignClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableScheduling
@EnableFeignClients(clients = {WmUserFeignClient.class, TaskScheduleFeignClient.class, ArticleFetignClient.class})
@MapperScan("com.heima.wemedia.mapper")
@SpringBootApplication
public class WemediaApplication {
    public static void main(String[] args) {
        SpringApplication.run(WemediaApplication.class,args);
    }
}
